package com.woniu.service;

import com.woniu.pojo.Admin;

import java.util.List;

public interface AdminService {
    List<Admin> findAdminByPage(Integer currentPage, Integer pageSize);

    void saveAdmin(Admin admin);

    void batchDel(List<Integer> list);

    Admin findById(Integer id);

    Admin checkName(Admin admin);

    void updateAdmin(Admin admin);

    void deleteById(Integer id);
}
